package com.crb.smartcarddemo.http;


import com.crb.smartcarddemo.http.RequestBean.ApplyReq;
import com.crb.smartcarddemo.http.RequestBean.ResultReq;
import com.crb.smartcarddemo.http.RequestBean.SynReq;
import com.crb.smartcarddemo.http.ResponseBean.ApplyResp;
import com.crb.smartcarddemo.http.ResponseBean.Response;
import com.crb.smartcarddemo.http.ResponseBean.ResultResp;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;


public interface ApiService {

    /**
     * 6.1.应用个人化申请
     */
    @POST("apply")
    Call<ApplyResp> apply(@Body ApplyReq applyReq);

    /**
     * 6.2.指令执行结果通知
     */
    @POST("result")
    Call<ResultResp> result(@Body ResultReq resultReq);

    /**
     * 6.3.业务状态同步
     */
    @POST("syn")
    Call<Response> syn(@Body SynReq synReq);


}
